package com.zhuangfei.timetable.operater;

import com.zhuangfei.timetable.TimetableView;

import ohos.agp.components.AttrSet;
import ohos.agp.components.DirectionalLayout;
import ohos.app.Context;

/**
 * 抽象的业务逻辑
 * Created by Liu ZhuangFei on 2018/9/2.
 */
public abstract class AbsOperater {
    /**
     * init
     *
     * @param context
     * @param attrs
     * @param view
     */
    public void init(Context context, AttrSet attrs, TimetableView view) {

    }

    /**
     * showView
     */
    public void showView() {
    }

    /**
     * updateDateView
     */
    public void updateDateView() {
    }

    /**
     * updateSlideView
     */
    public void updateSlideView() {
    }

    /**
     * changeWeek
     *
     * @param week
     * @param isCurWeek
     */
    public void changeWeek(int week, boolean isCurWeek) {
    }

    public DirectionalLayout getFlagLayout() {
        return null;
    }

    public DirectionalLayout getDateLayout() {
        return null;
    }

    /**
     * setWeekendsVisiable
     *
     * @param isShow
     */
    public void setWeekendsVisiable(boolean isShow) {
    }
}
